import request from '@/utils/request'

export default {
    // 分页讲师查询的方法
    getTeacherPageList(page, limit) {
        return request({
            url: `/eduservice/teacherfront/getTeacherFrontList/${page}/${limit}`,
            method: 'post',
        })
    },
    // 根据讲师id查询详细信息以及所讲课程
    getTeacherFrontInfo(id) {
        return request({
            url: `/eduservice/teacherfront/getTeacherFrontInfo/${id}`,
            method: 'get'
        })
    }

}